package com.dw.etl.common.vo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liujunlei on 2018/1/24.
 */
public class PaginationVO<T> implements Serializable {
    private long total = 0L;
    List<T> entryList;

    public PaginationVO() {
    }

    public PaginationVO(long total, List<T> entryList) {
        this.total = total;
        this.entryList = entryList;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getEntryList() {
        return entryList;
    }

    public void setEntryList(List<T> entryList) {
        this.entryList = entryList;
    }
}
